package com.vf.admin.client.service.impl;

import com.vf.admin.client.dao.AppGiftRewardDao;
import com.vf.admin.client.service.AppGiftRewardService;
import com.vf.admin.common.splitpage.SplitPageBean;
import com.vf.admin.miaodong.entity.AppGiftReward;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * 礼物打赏记录
 */
@Service
public class AppGiftRewardServiceImpl implements AppGiftRewardService {

    @Autowired
    AppGiftRewardDao appGiftRewardDao;

    @Override
    public List<AppGiftReward> list(Map<String, Object> paraMap, SplitPageBean splitPage) {
        return appGiftRewardDao.list(paraMap, splitPage);
    }

    @Override
    public AppGiftReward get(Integer id) {
        return appGiftRewardDao.get(id);
    }

    @Override
    public void save(AppGiftReward haoYou) {
        appGiftRewardDao.save(haoYou);
    }

    @Override
    public void del(Integer id) {
        appGiftRewardDao.del(id);
    }

    @Override
    public List<AppGiftReward> list(Map<String, Object> paraMap) {
        return appGiftRewardDao.list(paraMap);
    }
}
